namespace OracleInternal.Json.Common
{
	internal class OracleExceptionFactory : IExceptionFactory
	{
		internal OracleExceptionFactory()
		{
		}

		public RuntimeException CreateJsonException(string message)
		{
			return new OracleJsonException(message);
		}

		public RuntimeException CreateGenerationException(string message)
		{
			return new OracleJsonGenerationException(message);
		}
	}
}
